// stdafx.cpp : source file that includes just the standard includes
//  stdafx.pch will be the pre-compiled header
//  stdafx.obj will contain the pre-compiled type information

#pragma warning(disable:4146)
#pragma warning(disable:4786)
#pragma warning(disable:4541)

#include "stdafx.h"

#ifdef _ATL_STATIC_REGISTRY
#include <statreg.h>
#include <statreg.cpp>
#endif

#include <atlimpl.cpp>

char* bstrtocstr(BSTR b) {
	char* szTo = (char*)malloc(_bstr_t(b).length() +1);
	strcpy(szTo, (char*)_bstr_t(b));
	return szTo;
}

bstr_t gpSessionGuid = bstr_t("");
const bstr_t gpVersion = bstr_t("1.0");